<DOCTYPE html>
<?php 
include "seguridad.php";
?>
<html lang="es">
<head>
<title>:INCUBADORA ITH: Contacto</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Bienvenido al centro de incubacion de empresas"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<link rel= 'shortcut icon' type= 'image/x-icon' href= 'ith.ico'/>
<link href="ith.ico" rel="shortcut icon" />
<link type="text/plain" rel="alumnos" href="humans.txt" />
<link rel='sitemap' type="application/xml"  href='sitemaps.xml'/>
<link rel= 'stylesheet' href= 'css/estilos.css'/>
<link rel='stylesheet'  href='css/flexslider.css'/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script>
!window.jQuery && document.write("<script src='js/jquery.min.js'><\/script>"):
</script>
<script src="js/jquery.flexslider.js"></script>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>

<script>
$(window).load(function(){
$('.flexslider').flexslider(
{ animation: "slide"});
});
</script>
</head>
	<body>
	 

	<section id="menu-g">
		<section id="a">
			<article id="logo">
			<article id="imagen">
	
			<img src="images/logo-ciie.png" height="150" width="150" > 


			</article>

		</section>
<article id="as"><legend>CENTRO DE INCUBACION E INNOVACION EMPRESARIAL</legend> </article>
		<section id="b">
			<article id="menu">
			

			</nav>
			</article>
		</section>
		</section>
		<section id="fondo">

		</br>
		<section id="cuerpo" class="">

		<section id= 'contenido'>
			<nav>
	
			<ul>
				<li><a href="perfil-coordinador.php">Perfil</a><li>
				<li><a href="reporte-coord-incubado.php">reporte</a><li>
				<li><a href="salir.php">salir</a><li>
				
				
			</ul>
			</nav>
				<?php
include "config.php";

//$tabla="incubados";
mysql_connect($localhost,$user,$password);
mysql_select_db($db);
//Consultamos a la base de datos para sacar las columnas de la tabla
$result = mysql_query("SHOW COLUMNS FROM incubado");
?>

<form  method="post">
</br>
<input name="entrada" type="text">

<input type="submit" onclick = "this.form.action = 'eliminaincubado.php'" value="eliminar" />
<input type="submit" onclick = "this.form.action = 'formodifica.php'" value="modificar" />
<input type="submit" onclick = "this.form.action = 'eliminaincubado.php'" value="insertar" />
</br></br>
</form>

<table border=1>
<tr>

</tr>
<?php
//ahora consultamos a la base de datos para sacar los registros contenidos
echo "<tr><td>id</td><td>usuario</td><td>nombre</td><td>appaterno</td><td>apmaterno</td><td>tipo</td></tr>";
$result2 = mysql_query("SELECT idincubado ,usuario ,nombre ,appaterno ,apmaterno, tipo FROM incubado");
while ($row2 = mysql_fetch_array($result2, MYSQL_NUM)) {
echo "<tr>";
    for($i=0; $i<count($row2); $i++)
        echo "<td>",$row2[$i],"</td>";
echo "</tr>";
}
?>
</table>
				
			</ul>

			</nav>
			
		</section>
	



</section></br>
</br>
</section>

<footer>
<article id="menu-bajo">
	


</article>
<br/>
						

</br>
CENTRO DE INCUBACION E INNOVACION EMPRESARIAL<a href="http://www.ith.mx/" target="_blank">@ITH</a>
</footer>
</body>
</html>